package com.kim.nidoya;

import android.app.Application;

import com.kim.androidbase.log.LogUtil;

public class NidoyaApplication extends Application {

	public static boolean DEVMode = true;
	public static String packageName = null;

	//public static DatabaseErrorHandler databaseErrorHandler;

	@Override
	public void onCreate() {
		super.onCreate();
		packageName = getPackageName();

		// 设置日志存储位置
		LogUtil.setLogPath(packageName);

		/*databaseErrorHandler = new DatabaseErrorHandler() {

			@Override
			public void onCorruption(SQLiteDatabase dbObj) {
				LogRecorder.e(NidoyaApplication.class.getName(),
						"Database onCorruption");
			}
		};*/
	}

	@Override
	public void onLowMemory() {
		super.onLowMemory();
	}

}
